#include "Stack.h"

void Test()
{
	ST s;
	STInit(&s);
	for (int i = 9; i > 0; i--)
	{
		STPush(&s, i);
	}

	while (!IsEmpty(&s))
	{
		printf("%d ", STTop(&s));
		STPop(&s);
	}

	STDestory(&s);
}

int main()
{
	Test();
	return 0;
}